package com.un.ebs.product.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ProductSkuPurchaseCountExt)表实体类
 *
 * @author liubo
 * @since 2020-07-07 22:23:56
 */
@Data
@Component
@TableName("v_product_sku_purchase_count_ext")
@SuppressWarnings("serial")
public class ProductSkuPurchaseCountExt extends Model<ProductSkuPurchaseCountExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "name", length = 100, precision = 0)
    private String name;

    @DbField(name = "buy_min_qty", length = -1, precision = 0)
    private Integer buyMinQty;

    @DbField(name = "buy_max_qty", length = -1, precision = 0)
    private Integer buyMaxQty;

    @DbField(name = "purchase_type", length = -1, precision = 0)
    private Integer purchaseType;

    @DbField(name = "unit_type", length = -1, precision = 0)
    private Integer unitType;

    @DbField(name = "class_id", length = 40, precision = 0)
    private String classId;

    @DbField(name = "class_name", length = 40, precision = 0)
    private String className;

    @DbField(name = "supply_count", length = -1, precision = 0)
    private Integer supplyCount;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;


}